<?php
namespace app\common\validate;
use think\Validate;
class Customer extends Validate
{
    protected $rule    = [
        'name' => 'require',
        'email'=> 'require',
    ];
    protected $message = [
        
        'name.require' => '客户名称必填',
        'email.require'=>'Email必须填写',
    ];

    //验证场景
    protected $scene = [
    ];
}
